home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / pascal / graftxt.com / READ.ME < prev    next >
Encoding:
Text File  |  1989-07-06  |  2.0 KB  |  66 lines

  1. Graftext.pas               July 6, 1989
  2.  
  3.  
  4.  
  5. A Unit for Fast display of Text in Graphics mode.
  6.  
  7. Includes 8, 14, 16, and 19 line fonts.
  8.  
  9. A faster but more limited alternative to OutTextXY.
  10.  
  11. Works only on horizontal 8 pixel boundaries, but on any scan line.
  12.  
  13. Designed for EGA/VGA only.
  14.  
  15. Uses built in fonts (.OBJ files in TPU)
  16.  
  17. Uses PITCH variable to allow varying number of bytes per scan line.
  18.  
  19. New procedure, SetGfont, to select fonts instead of including font in call.
  20.  
  21. Supports SetActivePage and SetVisualPage functions of GRAPH unit when
  22.   using 350 line EGA modes.
  23.  
  24.  
  25.  
  26. {Author: Tim Godfrey, 72617,2125 }
  27.  
  28.  
  29. REVISION HISTORY:
  30.  
  31. Version of 27 Jan 89 
  32.  
  33. Fixed bug in ASMs causing eventual stack overflow
  34.  
  35. Added SetYOfset to allow "Pseudo Paging" for EGA modes
  36. to write on second page, just add 350 to Y coordinates
  37.  
  38.  
  39. Version of 1 Feb 89 
  40.  
  41. Added true paging support of SetActivePage and 
  42. SetVisualPage from the Graph Unit
  43.  
  44.  
  45. Version of 7 Jul 89 
  46.  
  47. Added new Procedure SetGfont, eliminating requirement
  48. of passing the font data size and pointer with every GRAFTEXT call.
  49. Made asm files near calls with intermediate procedures to include font data.
  50.  
  51. Improved optimization of assembler code for speed, especially in GtxtTran.
  52.  
  53. Added Pitch variable to support pixels per line other
  54. than 640. Pitch is number of _bytes_ per scan line. Set pitch when graphics
  55. are initialized if you are using any modes other than 640 pixels per line.
  56.  
  57.  
  58.  
  59.  
  60. Note: If you already use Graftext in your programs, you will have to remove
  61.       the font information from the calls to Gtxtsol and Gtxttran when you
  62.       re-compile. Sorry for the inconvenience, but I think think that 
  63.       "encapsulating" the font information is a better approach and will make
  64.       using Graftext easier in the future. The default font is 8x14. If you
  65.       are using another size font, make sure to add a SetGfont() statement to
  66.       select it.